import Vue from 'vue'
import VueRouter from 'vue-router'
import micropage from '../views/micropage'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'micropage',
    component: micropage,
  },
  {
    path: '/create',
    name: 'micropageCreate',
    component: () => import('@/views/micropage/create')
  },
  {
    path: '/check',
    name: 'micropageCheck',
    component: () => import('@/views/micropage/check')
  }
]

const router = new VueRouter({
  routes
})

export default router
